extends ItemComp

@onready var checkbox = %checkbox

# Called when the node enters the scene tree for the first time.
func _ready():
	pass # Replace with function body.

func _get_data():
	return checkbox.button_pressed

func _set_data(data):
	checkbox.button_pressed = data

func _on_checkbox_toggled(_toggled_on):
	data_changed.emit()
